Pod::Spec.new do |s|
  s.name         = "TDependencyProject"
  s.version      = "0.0.2"
  s.summary      = "This TDependencyProject.podspec is for test ."
  s.homepage     = "https://gitee.com/samcoding/SMInterface"
  s.license      = "MIT"
  s.license      = { :type => "MIT", :file => "LICENSE" }
  s.author       = { "山刘" => "liushan@segimail.com" }
  s.platform     = :ios, "8.0"

  s.source       = { :git => "https://gitee.com/samcoding/TDependencyProject.git", :tag => "#{s.version}" }
  # s.source       = { :path => "/Users/shanliu/Desktop/GitTest/TDependencyProject/TDependencyProject.podspec", :tag => "#{s.version}" }
  s.static_framework  =  true
  s.requires_arc = true

  s.subspec 'TDEHttp'do|http|
    http.source_files = "TDependencyProject/TDEHttp/**/*"
    http.public_header_files = "TDependencyProject/TDEHttp/**/*.h"
    http.dependency 'AFNetworking'
  end

  s.subspec 'TDELogin'do|lo|
    lo.source_files  = "TDependencyProject/TDELogin/**/*"
    lo.public_header_files = "TDependencyProject/TDELogin/**/*.h"
    lo.dependency 'SMInterface/SMHTTP'
  end
end


# pod spec lint --allow-warnings --use-libraries --sources='https://gitee.com/samcoding/SMSpecs.git,https://github.com/CocoaPods/Specs'
# pod repo push SMSpecs TDependencyProject.podspec --allow-warnings --use-libraries --sources='https://gitee.com/samcoding/SMSpecs.git,https://github.com/CocoaPods/Specs'
# pod package TDependencyProject.podspec --force --embedded --no-mangle --subspecs='TDEHttp' --spec-sources='https://gitee.com/samcoding/SMSpecs.git,https://github.com/CocoaPods/Specs'